/*
 * @Author: ljk
 * @Date: 2023-05-11 20:35:57
 * @LastEditors: ljk
 * @LastEditTime: 2023-05-12 13:18:35
 * @Description: 公共文件
 */
#pragma once

#include <iostream>
#include <sys/stat.h>
#include <cerrno>
#include <string>
#include <cstring>
#include <unistd.h>
#include <cassert>
#include <fcntl.h>
#include <stdio.h>
// #include <ncurses.h>
#include <sys/types.h>


#define NUM 1024

const std::string fifoname = "./fifo";
uint32_t mode = 0666;
